home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15748 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  818 b 

  1. Path: beyond.escape.com!ward
  2. From: ward@escape.com (Christian Ward)
  3. Newsgroups: comp.lang.c++
  4. Subject: file descriptors and fstreams...
  5. Date: 7 Apr 1996 02:07:14 GMT
  6. Organization: Stay away from escape.com. It sucks.
  7. Message-ID: <4k780i$dd5@beyond.escape.com>
  8. NNTP-Posting-Host: escape.escape.com
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.  
  12. Hi I'm a very beginner c++ programmer, although I've been doing C for a
  13. while. I know there's a C function called fdopen which takes a file
  14. descriptor and creates a stream for it so you can use fprintf, fscanf,
  15. and all that other good stuff. Is there a similar function (or whatever)
  16. that takes a file descriptor and does something to let you use << and >>
  17. with it?
  18.  
  19. Like I said I'm very new to C++ and I'm sorry that I don't have the
  20. correct terminology for all this stuff.
  21.  
  22. Justin
  23.